package com.swallowtech.mstation.core.repository;

import java.util.List;

import com.swallowtech.mstation.core.domain.MusicBookmark;
import com.swallowtech.mstation.core.domain.User;



public interface MusicBookmarkRepository {

	MusicBookmark findByPrimaryKey(String id);
	
	MusicBookmark findByUniqueKey(String userId,String url);
	
	void insert(MusicBookmark musicBookmark);	

	void update(MusicBookmark musicBookmark);

	List<MusicBookmark> findByAllOfUser(User user);

}
